package com.dna.mapper;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import com.dna.entity.MenuEntity;
import com.dna.utils.TkMapper;

public interface MenuMapper extends TkMapper<MenuEntity> {

    List<MenuEntity> queryByRoleId(Long roleId);

    Set<String> queryPerByRoleId(Long roleId);

    void deleRelation(@Param("menuSet")Set<Long> menuSet);

    List<MenuEntity> selectAlList();

    List<MenuEntity> queryList();

}